package com.sentiment.nlpalgo.bean;

import java.util.ArrayList;
/*
 * @author liaozhenlin
 * @email 939899727@qq.com
 * 
 */

/*
 * 聚类cluster返回结果保存形式，代表一个具体的类
 * id ：一个聚类的编号
 * list ：一个聚类的文档集合
 * num ：一个聚类的文档数量
 */
public class Cluster {

	private int id;
	private int num;
	private ArrayList<Integer> arrayInteger;
	
	
	@Override
	public String toString() {
		return "Cluster [id=" + id + ", num=" + num + ", arrayInteger=" + arrayInteger + "]";
	}
	public Cluster() {
		super();
	}
	public Cluster(int id, int num, ArrayList<Integer> arrayInteger) {
		super();
		this.id = id;
		this.num = num;
		this.arrayInteger = arrayInteger;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public ArrayList<Integer> getArrayInteger() {
		return arrayInteger;
	}
	public void setArrayInteger(ArrayList<Integer> arrayInteger) {
		this.arrayInteger = arrayInteger;
	}
	
}
